package com.gjsh.b_static;

public class Test02 {
    public static void main(String[] args) {
        int[] arr = {2, 6, 9, 45, 3, 62, 15};
//        int max = arr[0];
//        for (int i = 0; i < arr.length; i++) {
//            if (arr[i] > max) {
//                max = arr[i];
//            }
//        }
        int max = StaticUtils.getMax(arr);
        System.out.println(max);
    }
}
